﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace  ttlang.semantic
{
    public enum MEMBERTYPE
    {
        NONE,
        VAR,    //变量
        METHOD,//函数
        DEF_DELEGATE,//定义嵌套？要支持类中类，此处做展开，
        DEF_STRUCT,
        DEF_CLASS,
    }
    public interface IMember
    {
        string name
        {
            get;
        }
        string fullname
        {
            get;
        }
        IContainer container
        {
            get;
        }
        MEMBERTYPE type
        {
            get;
        }
        TTType tttype
        {
            get;
        }
    }

}
